#include "ssmt.h"
#include "classalpha.h"

namespace not_ssmt
{

	ClassAlpha::ClassAlpha()
	{
		std::cout << "Entering ClassAlpha Constructor" << std::endl;
		privateInteger = 123;
	}

	void ClassAlpha::update()
	{
		
		std::cout << "Updatefunction()" << std::endl;
		if(system != nullptr)
		{
			int t = system->TestFunction();
			std::cout << "Der String ist ... " << t << std::endl;
		}
	}

	ClassAlpha::~ClassAlpha()
	{
		std::cout << "Entering ClassAlpha Destructor" <<std::endl;
	}

	int ClassAlpha::doSomething(int hello)
	{
		std::cout << "Entering doSomething()" << std::endl;
		privateInteger += hello;
		return privateInteger;
	}

	void ClassAlpha::setEntityInterface(ssmt::IEntitySystem* sys)
	{
		system = sys;
	}


} //namespace not_ssmt